package com.sinsz.c.annotation;

import com.sinsz.c.context.BxfsRedisRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 开启redis扫描
 * @author chenjianbo
 * @date 2017/11/28
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(value = {BxfsRedisRegistrar.class})
public @interface EnableBxfsRedis {

    /**
     * 扫描包
     * @return
     */
    String[] value() default {"com.sinsz.c.redis"};

    /**
     * 忽略类
     * @return
     */
    Class<?>[] ignoreClass() default {};

}